let { Node, binarySearchTree } = require('./index')
// 中序遍历 左根右
// 后序遍历  左右根
const BinarySearchTree = new binarySearchTree();
BinarySearchTree.insert(3);
BinarySearchTree.insert(9);
BinarySearchTree.insert(20);
BinarySearchTree.insert(15);
BinarySearchTree.insert(7);
console.log(JSON.stringify(BinarySearchTree));
// console.log(BinarySearchTree.inorderTraversalNode());